Part Number Hot Search : 
NJM1458M SC473 HER802S CXP86449 04598 SKN6000 CY7C65 MSK611
Product Description
Full Text Search
 

To Download DS21Q43A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 DS21Q43A Quad E1 Framer
www.dalsemi.com
FEATURES
Four E1 (CEPT or PCM-30) /ISDN-PRI framing transceivers All four framers are fully independent; transmit and receive sections of each framer are fully independent Frames to FAS, CAS, CCS, and CRC4 formats 8-bit parallel control port that can be connected to either multiplexed or nonmultiplexed buses Each of the four framers contains dual twoframe elastic stores that can connect to asynchronous or synchronous backplanes up to 8.192 MHz Easy access to Si and Sa bits Extracts and inserts CAS signaling Large counters for bipolar and code violations, CRC4 code word errors, FAS word errors, and E-bits Programmable output clocks for Fractional E1, per channel loopback, H0 and H12 applications Detects and generates AIS, remote alarm, and remote multiframe alarms Pin-compatible with DS21Q41B Quad T1 Framer 5V supply; low power CMOS Available in 128-pin TQFP Industrial (-40C to +85C) grade version available (DS21Q43ATN)
FUNCTIONAL DIAGRAM
RECEIVE FRAMER
ELASTIC STORE
TRANSMIT FORMATTER
ELASTIC STORE
FRAMER #0 FRAMER #1 FRAMER #2 FRAMER #3 CONTROL PORT

ACTUAL SIZE
QUAD E1 FRAMER
DESCRIPTION
The DS21Q43A combines four of the popular DS2143 E1 Controllers onto a single monolithic die. The "A" designation denotes that some new features are available in the Quad version which were not available in the single E1 device. The added features in the DS21Q43A are listed in Section 1. The DS21Q43A offers a substantial space savings to applications that require more than one E1 framer on a card. The Quad version is only slightly bigger than the single E1 device. All four framers in the DS21Q43A are totally independent; they do not share a common framing synchronizer. Also, the transmit and receive sides of each framer are totally independent. The dual two-frame elastic stores contained in each of the four framers can be independently enabled and disabled as required. The DS21Q43A meets all of the latest specifications, including CCITT/ITU G.704, G.706, G.962, and I.431 as well as ETS 300 011 and ETS 300 233. 1 of 60 092299
DS21Q43A
1.0 INTRODUCTION
The DS21Q43A Quad E1 Framer is made up of five main parts: framer #0, framer #1, framer #2, framer #3, and the control port which is shared by all four framers. See the Block Diagram in Figure 1-1. Each of the four framers within the DS21Q43A maintains the same register structure that appeared in the DS2143. The two framer-select inputs (FS0 and FS1) are used to determine which framer within the DS21Q43A is being accessed. In this manner, software written for the DS2143 can also be used in the DS21Q43A with only slight modifications. Several new features have been added to the framers in the DS21Q43A over the DS2143. ADDED FEATURE Non-multiplexed parallel control port operation Transmit side elastic store Expanded access to Sa and Si bits Control signals RFSYNC, RMSYNC, and TFSYNC FAS word error counting Code violation counting Automatic AIS generation upon loss of frame sync Automatic remote alarm generation Per-channel signaling insertion Per-channel loopback from RSER to TSER Option to update error counters every 62.5 ms CRC4 resync criteria met status bit Elastic store reset Hardware 3-state control SECTION 2 and 13 10 6 1 5 5 3 3 9 and 11 8 and 11 5 4 10 1
2 of 60
DS21Q43A
DS21Q43A BLOCK DIAGRAM Figure 1-1
READER'S NOTE
This data sheet assumes a particular nomenclature of the E1 operating environment. There are 32 8-bit timeslots in an E1 system which are numbered 0 to 31. Timeslot 0 is transmitted first and received first. These 32 timeslots are also referred to as channels with a numbering scheme of 1 to 32. Timeslot 0 is identical to channel 1, timeslot 1 is identical to channel 2, and so on. Each timeslot (or channel) is made up of 8 bits which are numbered 1 to 8. Bit number 1 is the MSB and is transmitted first. Bit number 8 is the LSB and is transmitted last. Throughout this data sheet, the following abbreviations will be used: FAS CAS MF Si Frame Alignment Channel Associated Signaling Multiframe International bits CRC4 CCS Sa E-bit 3 of 60 Cyclical Redundancy Check Common Channel Signaling Additional bits CRC4 Error bits
DS21Q43A
PIN-OUT CONFIGURATION Figure 1-2
4 of 60
DS21Q43A
TRANSMIT PIN LIST Table 1-1
PIN 19 53 87 113 126 32 66 92 128 34 68 94 1 35 69 95 20 54 88 114 22 56 90 116 2 36 70 96 3 37 71 97 21 55 89 115 SYMBOL TCLK0 TCLK1 TCLK2 TCLK3 TSER0 TSER1 TSER2 TSER3 TCHCLK0 TCHCLK1 TCHCLK2 TCHCLK3 TCHBLK0 TCHBLK1 TCHBLK2 TCHBLK3 TLCLK0 TLCLK1 TLCLK2 TLCLK3 TLINK0 TLINK1 TLINK2 TLINK3 TPOS0 TPOS1 TPOS2 TPOS3 TNEG0 TNEG1 TNEG2 TNEG3 TSYNC0 TSYNC1 TSYNC2 TSYNC3 TYPE I I I I I I I I O O O O O O O O O O O O I I I I O O O O O O O O I/O I/O I/O I/O DESCRIPTION Transmit Clock for Framer 0 Transmit Clock for Framer 1 Transmit Clock for Framer 2 Transmit Clock for Framer 3 Transmit Serial Data for Framer 0 Transmit Serial Data for Framer 1 Transmit Serial Data for Framer 2 Transmit Serial Data for Framer 3 Transmit Channel Clock from Framer 0 Transmit Channel Clock from Framer 1 Transmit Channel Clock from Framer 2 Transmit Channel Clock from Framer 3 Transmit Channel Block from Framer 0 Transmit Channel Block from Framer 1 Transmit Channel Block from Framer 2 Transmit Channel Block from Framer 3 Transmit Link Clock from Framer 0 Transmit Link Clock from Framer 1 Transmit Link Clock from Framer 2 Transmit Link Clock from Framer 3 Transmit Link Data for Framer 0 Transmit Link Data for Framer 1 Transmit Link Data for Framer 2 Transmit Link Data for Framer 3 Transmit Bipolar Data from Framer 0 Transmit Bipolar Data from Framer 1 Transmit Bipolar Data from Framer 2 Transmit Bipolar Data from Framer 3 Transmit Bipolar Data from Framer 0 Transmit Bipolar Data from Framer 1 Transmit Bipolar Data from Framer 2 Transmit Bipolar Data from Framer 3 Transmit Sync for Framer 0 Transmit Sync for Framer 1 Transmit Sync for Framer 2 Transmit Sync for Framer 3 5 of 60
DS21Q43A
127 33 67 93 125 31 65 91
TFSYNC0 TFSYNC1 TFSYNC2 TFSYNC3 TSYSCLK0 TSYSCLK1 TSYSCLK2 TSYSCLK3
I I I I I I I I
Transmit Sync for Elastic Store in Framer 0 Transmit Sync for Elastic Store in Framer 1 Transmit Sync for Elastic Store in Framer 2 Transmit Sync for Elastic Store in Framer 3 Transmit System Clock for Elastic Store in Framer 0 Transmit System Clock for Elastic Store in Framer 1 Transmit System Clock for Elastic Store in Framer 2 Transmit System Clock for Elastic Store in Framer 3
RECEIVE PIN LIST Table 1-2
PIN 6 40 74 100 13 49 83 107 9 43 77 103 10 44 80 104 5 39 73 99 4 38 72 98 8 42 76 SYMBOL RCLK0 RCLK1 RCLK2 RCLK3 RSER0 RSER1 RSER2 RSER3 RCHCLK0 RCHCLK1 RCHCLK2 RCHCLK3 RCHBLK0 RCHBLK1 RCHBLK2 RCHBLK3 RLCLK0 RLCLK1 RLCLK2 RLCLK3 RLINK0 RLINK1 RLINK2 RLINK3 RPOS0 RPOS1 RPOS2 TYPE I I I I O O O O O O O O O O O O O O O O O O O O I I I DESCRIPTION Receive Clock for Framer 0 Receive Clock for Framer 1 Receive Clock for Framer 2 Receive Clock for Framer 3 Receive Serial Data from Framer 0 Receive Serial Data from Framer 1 Receive Serial Data from Framer 2 Receive Serial Data from Framer 3 Receive Channel Clock from Framer 0 Receive Channel Clock from Framer 1 Receive Channel Clock from Framer 2 Receive Channel Clock from Framer 3 Receive Channel Block from Framer 0 Receive Channel Block from Framer 1 Receive Channel Block from Framer 2 Receive Channel Block from Framer 3 Receive Link Clock from Framer 0 Receive Link Clock from Framer 1 Receive Link Clock from Framer 2 Receive Link Clock from Framer 3 Receive Link Data from Framer 0 Receive Link Data from Framer 1 Receive Link Data from Framer 2 Receive Link Data from Framer 3 Receive Bipolar Data for Framer 0 Receive Bipolar Data for Framer 1 Receive Bipolar Data for Framer 2 6 of 60
DS21Q43A
102 7 41 75 101 12 48 82 106 17 51 85 109 16 50 84 108 11 45 81 105 18 52 86 112
RPOS3 RNEG0 RNEG1 RNEG2 RNEG3 RSYNC0 RSYNC1 RSYNC2 RSYNC3 RFSYNC0 RFSYNC1 RFSYNC2 RFSYNC3 RMSYNC0 RMSYNC1 RMSYNC2 RMSYNC3 RSYSCLK0 RSYSCLK1 RSYSCLK2 RSYSCLK3 RLOS/LOTC0 RLOS/LOTC1 RLOS/LOTC2 RLOS/LOTC3
I I I I I I/O I/O I/O I/O O O O O O O O O I I I I O O O O
Receive Bipolar Data for Framer 3 Receive Bipolar Data for Framer 0 Receive Bipolar Data for Framer 1 Receive Bipolar Data for Framer 2 Receive Bipolar Data for Framer 3 Receive Sync for Framer 0 Receive Sync for Framer 1 Receive Sync for Framer 2 Receive Sync for Framer 3 Receive Frame Sync from Framer 0 Receive Frame Sync from Framer 1 Receive Frame Sync from Framer 2 Receive Frame Sync from Framer 3 Receive Multiframe Sync from Framer 0 Receive Multiframe Sync from Framer 1 Receive Multiframe Sync from Framer 2 Receive Multiframe Sync from Framer 3 Receive System Clock for Elastic Store in Framer 0 Receive System Clock for Elastic Store in Framer 1 Receive System Clock for Elastic Store in Framer 2 Receive System Clock for Elastic Store in Framer 3 Receive Loss of Sync/Loss of Transmit Clock from Framer 0 Receive Loss of Sync/Loss of Transmit Clock from Framer 1 Receive Loss of Sync/Loss of Transmit Clock from Framer 2 Receive Loss of Sync/Loss of Transmit Clock from Framer 3
7 of 60
DS21Q43A
CONTROL PORT/TEST/SUPPLY PIN LIST Table 1-3
PIN 57 60 58 59 61 63 62 23 24 25 26 27 28 29 30 64 117 118 119 120 121 122 123 124 15 47 79 111 14 46 78 110 SYMBOL TEST
CS
TYPE I I I I I I I I I I I I I I O I I/O I/O I/O I/O I/O I/O I/O I/O -
DESCRIPTION 3-State Control for all Output and I/O Pins. Chip Select. Framer Select 0 for Parallel Control Port. Framer Select 1 for Parallel Control Port. Bus Type Select for Parallel Control Port. Write Input (Read/Write). Read Input (Data Strobe). Address Bus Bit 0; LSB. Address Bus Bit 1. Address Bus Bit 2. Address Bus Bit 3. Address Bus Bit 4. Address Bus Bit 5. Address Bus Bit 6; MSB or Address Latch Enable (Address Strobe). Receive Alarm Interrupt for all Four Framers. Non-Multiplexed or Multiplexed Bus Select. Data Bus Bit 0 or Address/Data Bus Bit 0; LSB. Data Bus Bit 1 or Address/Data Bus Bit 1. Data Bus Bit 2 or Address/Data Bus Bit 2. Data Bus Bit 3 or Address/Data Bus Bit 3. Data Bus Bit 4 or Address/Data Bus Bit 4. Data Bus Bit 5 or Address/Data Bus Bit 5. Data Bus Bit 6 or Address/Data Bus Bit 6. Data Bus Bit 7 or Address/Data Bus Bit 7; MSB. Positive Supply Voltage. Positive Supply Voltage. Positive Supply Voltage. Positive Supply Voltage. Signal Ground. Signal Ground. Signal Ground. Signal Ground.
FS0 FS1 BTS
WR (R/ W )
RD (DS)
A0 A1 A2 A3 A4 A5 A6 or ALE (AS)
INT
MUX D0 or AD0 D1 or AD1 D2 or AD2 D3 or AD3 D4 or AD4 D5 or AD5 D6 or AD6 D7 or AD7 VDD VDD VDD VDD VSS VSS VSS VSS
8 of 60
DS21Q43A
DS21Q43A PIN DESCRIPTION Table 1-4
Transmit Clock [TCLK]. 2.048 MHz primary clock. Used to clock data through the transmit side formatter. Necessary for proper operation of the parallel control port. Transmit Serial Data [TSER]. Transmit NRZ serial data. Sampled on the falling edge of TCLK when the transmit side elastic store is disabled. Sampled on the falling edge of TSYSCLK when the transmit side elastic store is enabled. Transmit Channel Clock [TCHCLK]. 256 kHz clock which pulses high during the LSB of each channel. Synchronous with TCLK when the transmit side elastic store is disabled. Synchronous with TSYSCLK when the transmit side elastic store is enabled. Useful for parallel to serial conversion of channel data. See Section 11 for timing details. Transmit Bipolar Data [TPOS and TNEG]. Updated on rising edge of TCLK. Can be programmed to output NRZ data on TPOS via the TCR1.7 control bit. Transmit Channel Block [TCHBLK]. A user programmable output that can be forced high or low during any of the 32 E1 channels. Synchronous with TCLK when the transmit side elastic store is disabled. Synchronous with TSYSCLK when the transmit side elastic store is enabled. Useful for blocking clocks to a serial UART or LAPD controller in applications where not all E1 channels are used such as Fractional E1, 384 kpbs service (H0), 1920 kpbs (H12), or ISDN-PRI. Also useful for locating individual channels in drop-and-insert applications and for per-channel loopback. See Section 11 for timing details. Transmit System Clock [TSYSCLK]. 1.544 MHz or 2.048 MHz clock. Only used when the transmit side elastic store function is enabled. Should be tied low in applications that do not use the transmit side elastic store. Transmit Link Clock [TLCLK]. 4 kHz to 20 kHz demand clock for the TLINK input. Controlled by TCR2. See Section 11 for timing details. Transmit Link Data [TLINK]. If enabled via TCR2, this pin will be sampled on the falling edge of TCLK to insert data into the Sa bit positions. See Section 11 for timing details. Transmit Sync [TSYNC]. A pulse at this pin will establish either frame or multiframe boundaries for the DS21Q43A. Via TCR1.1, the DS21Q43A can be programmed to output either a frame or multiframe pulse at this pin. See Section 11 for timing details. Transmit Frame Sync [TFSYNC]. 8 kHz pulse. Only used when the transmit side elastic store is enabled. A pulse at this pin will establish frame boundaries for the DS21Q43A. Should be tied low in applications that do not use the transmit side elastic store. See Section 11 for timing details. Receive Link Data [RLINK]. Updated with full received E1 data stream on the rising edge of RCLK. See Section 11 for timing details. Receive Link Clock [RLCLK]. 4 kHz to 20 kHz demand clock for the RLINK output. Controlled by RCR2. See Section 11 for timing details. Necessary for proper operation of the parallel control port. Receive Clock [RCLK]. 2.048 MHz primary clock. Used to clock data through the receive side of the framer. Necessary for proper operation of the parallel control port. 9 of 60
DS21Q43A
Receive Channel Clock [RCHCLK]. 256 kHz clock which pulses high during the LSB of each channel. Synchronous with RCLK when the receive side elastic store is disabled. Synchronous with RSYSCLK when the receive side elastic store is enabled. Useful for parallel to serial conversion of channel data. See Section 11 for timing details. Receive Channel Block [RCHBLK]. A user programmable output that can be forced high or low during any of the 32 E1 channels. Synchronous with RCLK when the transmit side elastic store is disabled. Synchronous with RSYSCLK when the transmit side elastic store is enabled. Useful for blocking clocks to a serial UART or LAPD controller in applications where not all E1 channels are used such as Fractional E1, 384 kpbs service (H0), 1920 kpbs (H12), or ISDN-PRI. Also useful for locating individual channels in drop-and-insert applications and for per-channel loopback. See Section 11 for timing details. Receive Serial Data [RSER]. Received NRZ serial data. Updated on rising edges of RCLK when the receive side elastic store is disabled. Updated on the rising edges of RSYSCLK when the receive side elastic store is enabled. Receive Sync [RSYNC]. An extracted pulse, one RCLK wide, is output at this pin which identifies either frame (RCR1.6=0) or multiframe boundaries (RCR1.6=1). If the receive side elastic store is enabled via RCR2.1, then this pin can be enabled to be an input at which a frame boundary pulse is applied. See Section 11 for timing details. Receive Frame Sync [RFSYNC]. An extracted 8 kHz pulse, one RCLK wide, is output at this pin which identifies frame boundaries. See Section 11 for timing details. Receive Multiframe Sync [RMSYNC]. Only used when the receive side elastic store is enabled. An extracted pulse, one RSYSCLK wide, is output at this pin which identifies either CAS or CRC4 multiframe boundaries. If the receive side elastic store is disabled, then this output should be ignored. See Section 11 for timing details. Receive Bipolar Data Inputs [RPOS and RNEG]. Sampled on falling edge of RCLK. Tie together to receive NRZ data and disable bipolar violation monitoring circuitry. Receive System Clock [RSYSCLK]. 1.544 MHz or 2.048 MHz clock. Only used when the elastic store function is enabled. Should be tied low in applications that do not use the elastic store. Allowing this pin to float can cause the device to 3-state its outputs. Receive Loss of Sync/Loss of Transmit Clock [RLOS/LOTC]. A dual function output. If CCR1.6=0, then this pin will toggle high when the synchronizer is searching for the E1 frame or multiframe. If TCR2.0=1, then this pin will toggle high the TCLK pin has not been toggled for 5 s. Receive Alarm Interrupt [ INT ]. Flags host controller during conditions defined in the Status Registers of the four framers. User can poll the Interrupt Status Register (ISR) to determine which status register in which framer is active (if any). Active low, open drain output. 3-State Control [TEST]. Set high to 3-state all output and I/O pins (including the parallel control port). Set low for normal operation. Useful in board-level testing. Bus Operation [MUX]. Set low to select non-multiplexed bus operation. Set high to select multiplexed bus operation.
10 of 60
DS21Q43A
Data Bus [D0 to D7] or Address/Data Bus [AD0 to AD7]. In non-multiplexed bus operation (MUX=0), serves as the data bus. In multiplexed bus operation (MUX=1), serves as an 8-bit multiplexed address/data bus. Address Bus [A0 to A5]. In non-multiplexed bus operation (MUX=0), serves as the address bus. In multiplexed bus operation (MUX=1), these pins are not used and should be tied low. Bus Type Select [BTS]. Strap high to select Motorola bus timing; strap low to select Intel bus timing. This pin controls the function of the RD (DS), ALE(AS), and WR (R/ W ) pins. If BTS=1, then these pins assume the function listed in parentheses (). Read Input [ RD ] (Data Strobe [DS]). Framer Selects [FS0 and FS1]. Selects which of the four framers to be accessed. Chip Selects [ CS ]. Must be low to read or write to any of the four framers. A6 or Address Latch Enable [ALE] (Address Strobe [AS]). In non-multiplexed bus operation (MUX=0), serves as the upper address bit. In multiplexed bus operation (MUX=1), serves to demultiplex the bus on a positive-going edge. Write Input [ WR ] (Read/Write [R/ W ]). Positive Supply [VDD]. 5.0 volts 0.5 volts. Signal Ground [VSS]. 0.0 volts.
DS21Q43A FRAMER DECODE Table 1-5
FS1 0 0 1 1 FS0 0 1 0 1 FRAMER ACCESSED #0 #1 #2 #3
11 of 60
DS21Q43A
DS21Q43A REGISTER MAP Table 1-6
ADDRESS 00 01 02 03 04 05 06 07 08 09 to 0F (2) 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 R/W R R R R R R R R R/W R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R R R/W R/W R/W R/W R/W R/W R/W R/W R/W REGISTER NAME BPV or Code Violation Count 1. BPV or Code Violation Count 2 CRC4 Count 1/FAS Error Count 1. CRC4 Error Count 2. E-Bit Count 1/FAS Error Count 2. E-Bit Count 2. Status 1. Status 2. Receive Information. Not Used. Interrupt Status Register. Receive Control 1. Receive Control 2. Transmit Control 1. Transmit Control 2. Common Control 1. Test 1. Interrupt Mask. Interrupt Mask. Test 3. Test 2. Common Control 2. Common Control 3. Transmit Sa Control Register. Not Used. Synchronizer Status. Receive Non-Align Frame. Transmit Align Frame. Transmit Non-Align Frame. Transmit Channel Blocking 1. Transmit Channel Blocking 2. Transmit Channel Blocking 3. Transmit Channel Blocking 4. Transmit Idle 1. Transmit Idle 2. Transmit Idle 3. 12 of 60
DS21Q43A
29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E
R/W R/W R/W R/W R/W R/W R/W R R R R R R R R R R R R R R R R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Transmit Idle 4. Transmit Idle Definition. Receive Channel Blocking 1. Receive Channel Blocking 2. Receive Channel Blocking 3. Receive Channel Blocking 4. Receive Align Frame. Receive Signaling 1. Receive Signaling 2. Receive Signaling 3. Receive Signaling 4. Receive Signaling 5. Receive Signaling 6. Receive Signaling 7. Receive Signaling 8. Receive Signaling 9. Receive Signaling 10. Receive Signaling 11. Receive Signaling 12. Receive Signaling 13. Receive Signaling 14. Receive Signaling 15. Receive Signaling 16. Transmit Signaling 1. Transmit Signaling 2. Transmit Signaling 3. Transmit Signaling 4. Transmit Signaling 5. Transmit Signaling 6. Transmit Signaling 7. Transmit Signaling 8. Transmit Signaling 9. Transmit Signaling 10. Transmit Signaling 11. Transmit Signaling 12. Transmit Signaling 13. Transmit Signaling 14. Transmit Signaling 15. 13 of 60
DS21Q43A
4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F
R/W R/W R/W R/W R/W R/W R/W R/W R/W R R R R R R R R
Transmit Signaling 16. Transmit Si Bits Align Frame. Transmit Si Bits Non-Align Frame. Transmit Remote Alarm Bits. Transmit Sa4 Bits. Transmit Sa5 Bits. Transmit Sa6 Bits. Transmit Sa7 Bits. Transmit Sa8 Bits. Receive Si Bits Align Frame. Receive Si Bits Non-Align Frame. Receive Remote Alarm Bits. Receive Sa4 Bits. Receive Sa5 Bits. Receive Sa6 Bits. Receive Sa7 Bits. Receive Sa8 Bits.
NOTES:
1. The Test Registers 1, 2, and 3 are used only by the factory; these registers must be cleared (set to all 0s) on power-up initialization to insure proper operation. 2. Any register address between 60h and 7Fh or between E0h and FFh will allow the status of the interrupts to appear on the bus. 3. Register addresses 09h through 0Fh are reserved for future use.
2.0 PARALLEL PORT
The DS21Q43A is controlled via either a non-multiplexed (MUX=0) or multiplexed (MUX=1) bus by an external microcontroller or microprocessor. The DS21Q43A can operate with either Intel or Motorola bus timing configurations. If the BTS pin is tied low, Intel timing will be selected; if tied high, Motorola timing will be selected. All Motorola bus signals are listed in parentheses (). See the timing diagrams in the AC Electrical Characteristics for more details.
3.0 CONTROL AND TEST REGISTERS
The operation of the DS21Q43A is configured via a set of seven registers. Typically, the control registers are only accessed when the system is powered up. Once the DS21Q43A has been initialized, the control registers will only need to be accessed when there is a change in the system configuration. There are two Receive Control Registers (RCR1 and RCR2), two Transmit Control Registers (TCR1 and TCR2), and three Common Control Registers (CCR1, CCR2 and CCR3). Each of the seven registers is described in this section. The Test Registers at addresses 15, 18, and 19 hex are used by the factory in testing the DS21Q43A. On power-up, the Test Registers should be set to 00 hex in order for the DS21Q43A to operate properly. 14 of 60
DS21Q43A
RCR1: RECEIVE CONTROL REGISTER 1 (Address=10 Hex)
(MSB) RSMF RSM RSIO POSITION RCR1.7 FRC SYNCE (LSB) RESYNC
SYMBOL RSMF
NAME AND DESCRIPTION RSYNC Multiframe Function. Only used if the RSYNC pin is programmed in the multiframe mode (RCR1.6=1). 0=RSYNC outputs CAS multiframe boundaries. 1=RSYNC outputs CRC4 multiframe boundaries. RSYNC Mode Select. 0=frame mode (see the timing in Section 11). 1=multiframe mode (see the timing in Section 11). RSYNC I/O Select. 0=RSYNC is an output (depends on RCR1.6). 1=RSYNC is an input (only valid if elastic store enabled). (note: this bit must be set to 0 when RCR2.1=0). Not Assigned. Should be set to 0 when written. Not Assigned. Should be set to 0 when written. Frame Resync Criteria. 0=resync if FAS received in error 3 consecutive times. 1=resync if FAS or bit 2 of non-FAS is received in error 3 consecutive times. Sync Enable. 0=auto resync enabled. 1=auto resync disabled. Resync. When toggled from low to high, a resync is initiated. Must be cleared and set again for a subsequent resync.
RSM
RCR1.6
RSIO
RCR1.5
FRC
RCR1.4 RCR1.3 RCR1.2
SYNCE
RCR1.1
RESYNC
RCR1.0
15 of 60
DS21Q43A
SYNC/RESYNC CRITERIA Table 3-1
FRAME OR MULTIFRAME LEVEL FAS SYNC CRITERIA RESYNC CRITERIA ITU SPEC. G.706 4.1.1 4.1.2
FAS present in frame N Three consecutive and N+2, and FAS not incorrect FAS received present in frame N + 1 Alternate (RCR1.2=1) the above criteria is met or three consecutive incorrect bit 2 of non-FAS received
CRC4
Two valid MF alignment words found within 8 ms Valid MF alignment word found and previous timeslot 16 contains code other than all 0s
915 or more CRC4 code words out of 1000 received in error Two consecutive MF alignment words received in error
G.706 4.2 and 4.3.2 G.732 5.2
CAS
RCR2: RECEIVE CONTROL REGISTER 2 (Address=11 Hex)
(MSB) Sa8S Sa7S Sa6S POSITION RCR2.7 RCR2.6 RCR2.5 RCR2.4 RCR2.3 RCR2.2 Sa5S Sa4S RBCS RESE (LSB) -
SYMBOL Sa8S Sa7S Sa6S Sa5S Sa4S RBCS
NAME AND DESCRIPTION Sa8 Bit Select. Set to 1 to report the Sa8 bit at the RLINK pin; set to 0 to not report the Sa8 bit. Sa7 Bit Select. Set to 1 to report the Sa7 bit at the RLINK pin; set to 0 to not report the Sa7 bit. Sa6 Bit Select. Set to 1 to report the Sa6 bit at the RLINK pin; set to 0 to not report the Sa6 bit. Sa5 Bit Select. Set to 1 to report the Sa5 bit at the RLINK pin; set to 0 to not report the Sa5 bit. Sa4 Bit Select. Set to 1 to report the Sa4 bit at the RLINK pin; set to 0 to not report the Sa4 bit. Receive Side Backplane Clock Select. 0=if RSYSCLK is 1.544 MHz 1=if RSYSCLK is 2.048 MHz Receive Side Elastic Store Enable. 0=elastic store is bypassed 1=elastic store is enabled Not Assigned. Should be set to 0 when written.
RESE
RCR2.1
-
RCR2.0
16 of 60
DS21Q43A
TCR1: TRANSMIT CONTROL REGISTER 1 (Address=12 Hex)
(MSB) ODF TFPT T16S POSITION TCR1.7 TUA1 TSiS TSA1 TSM (LSB) TSIO
SYMBOL ODF
NAME AND DESCRIPTION Output Data Format. 0=bipolar data at TPOS and TNEG 1=NRZ data at TPOS; TNEG=0 Transmit Timeslot 0 Pass Through. 0=FAS bits/Sa bits/Remote Alarm sourced internally from the TAF and TNAF registers 1=FAS bits/Sa bits/Remote Alarm sourced from TSER Transmit Timeslot 16 Data Select. 0=sample timeslot 16 at TSER pin 1=source timeslot 16 from TS0 to TS15 registers Transmit Unframed All 1s. 0=transmit data normally 1=transmit an unframed all 1s code at TPOS and TNEG Transmit International Bit Select. 0=sample Si bits at TSER pin 1=source Si bits from TAF and TNAF registers (in this mode, TCR1.6 must be set to 0) Transmit Signaling All 1s. 0=normal operation 1=force timeslot 16 in every frame to all 1s TSYNC Mode Select. 0=frame mode (see the timing in Section 11) 1=CAS and CRC4 multiframe mode (see the timing in Section 11) TSYNC I/O Select. 0=TSYNC is an input 1=TSYNC is an output
TFPT
TCR1.6
T16S
TCR1.5
TUA1
TCR1.4
TSiS
TCR1.3
TSA1
TCR1.2
TSM
TCR1.1
TSIO
TCR1.0
NOTE:
1. See Figure 11-9 for more details about how the Transmit Control Registers affect the operation of the DS21Q43A.
17 of 60
DS21Q43A
TCR2: TRANSMIT CONTROL REGISTER 2 (Address=13 Hex)
(MSB) Sa8S Sa7S Sa6S POSITION TCR2.7 Sa5S Sa4S ODM AEBE (LSB) PF
SYMBOL Sa8S
NAME AND DESCRIPTION Sa8 Bit Select. Set to 1 to source the Sa8 bit from the TLINK pin; set to 0 to not source the Sa8 bit. Sa7 Bit Select. Set to 1 to source the Sa7 bit from the TLINK pin; set to 0 to not source the Sa7 bit. Sa6 Bit Select. Set to 1 to source the Sa6 bit from the TLINK pin; set to 0 to not source the Sa6 bit. Sa5 Bit Select. Set to 1 to source the Sa5 bit from the TLINK pin; set to 0 to not source the Sa5 bit. Sa4 Bit Select. Set to 1 to source the Sa4 bit from the TLINK pin; set to 0 to not source the Sa4 bit. Output Data Mode. 0=pulses at TPOS and TNEG are one full TCLK period wide 1=pulses at TPOS and TNEG are 1/2 TCLK period wide Automatic E-Bit Enable. 0=E-bits not automatically set in the transmit direction 1=E-bits automatically set in the transmit direction. Function of RLOS/LOTC Pin. 0=Receive Loss of Sync (RLOS) 1=Loss of Transmit Clock (LOTC)
Sa7S
TCR2.6
Sa6S
TCR2.5
Sa5S
TCR2.4
Sa4S
TCR2.3
ODM
TCR2.2
AEBE
TCR2.1
PF
TCR2.0
18 of 60
DS21Q43A
CCR1: COMMON CONTROL REGISTER 1 (Address=14 Hex)
(MSB) FLB THDB3 TG802 POSITION CCR1.7 TCRC4 RSM RHDB3 RG802 (LSB) RCRC4
SYMBOL FLB
NAME AND DESCRIPTION Framer Loopback. 0=loopback disabled 1=loopback enabled Transmit HDB3 Enable. 0=HDB3 disabled 1=HDB3 enabled Transmit G.802 Enable. See Section 11 for details. 0=do not force TCHBLK high during bit 1 of timeslot 26 1=force TCHBLK high during bit 1 of timeslot 26 Transmit CRC4 Enable. 0=CRC4 disabled 1=CRC4 enabled Receive Signaling Mode Select. 0=CAS signaling mode 1=CCS signaling mode Receive HDB3 Enable. 0=HDB3 disabled 1=HDB3 enabled Receive G.802 Enable. See Section 11 for details. 0=do not force RCHBLK high during bit 1 of timeslot 26 1=force RCHBLK high during bit 1 of timeslot 26 Receive CRC4 Enable. 0=CRC4 disabled 1=CRC4 enabled
THDB3
CCR1.6
TG802
CCR1.5
TCRC4
CCR1.4
RSM
CCR1.3
RHDB3
CCR1.2
RG802
CCR1.1
RCRC4
CCR1.0
FRAMER LOOPBACK
When CCR1.7 is set to a 1, the DS21Q43A will enter a Framer LoopBack (FLB) mode. This loopback is useful in testing and debugging applications. In FLB, the DS21Q43A will loop data from the transmit side back to the receive side. When FLB is enabled, the following will occur: 1. data will be transmitted as normal at TPOS and TNEG 2. data at RPOS and RNEG will be ignored 3. the receive side signals become synchronous with TCLK instead of RCLK.
19 of 60
DS21Q43A
CCR2: COMMON CONTROL REGISTER 2 (Address=1A Hex)
(MSB) ECUS VCRFS AAIS POSITION CCR2.7 ARA RSERC LOTCMC (LSB) -
SYMBOL ECUS
NAME AND DESCRIPTION Error Counter Update Select. 0=update error counters once a second 1=update error counters every 62.5 ms (500 frames) VCR Function Select. 0=count BiPolar Violations (BPVs) 1=count Code Violations (CVs) Automatic AIS Generation. 0=disabled 1=enabled Automatic Remote Alarm Generation. 0=disabled 1=enabled RSER Control. 0=allow RSER to output data as received under all conditions 1=force RSER to 1 under loss of frame alignment conditions Loss of Transmit Clock Mux Control. Determines whether the transmit side formatter should switch to the ever-present RCLK if the TCLK should fail to transition (see Figure 1-1). 0=do not switch to RCLK if TCLK stops 1=switch to RCLK if TCLK stops Not Assigned. Should be set to 0 when written. Not Assigned. Should be set to 0 when written.
VCRFS
CCR2.6
AAIS
CCR2.5
ARA
CCR2.4
RSERC
CCR2.3
LOTCMC
CCR2.2
-
CCR2.1 CCR2.0
AUTOMATIC ALARM GENERATION
When either CCR2.4 or CCR2.5 is set to 1, the DS21Q43A monitors the receive side to determine if any of the following conditions are present: loss of receive frame synchronization, AIS alarm (all 1s) reception, or loss of receive carrier (or signal). If any one (or more) of the above conditions is present, then the DS21Q43A will either force an AIS alarm (if CCR2.5=1) or a Remote Alarm (CCR2.4=1) to be transmitted via the TPOS and TNEG pins. It is an illegal state to have both CCR2.4 and CCR2.5 set to 1 at the same time.
20 of 60
DS21Q43A
CCR3: COMMON CONTROL REGISTER 3 (Address=1B Hex)
(MSB) TESE TCBFS TIRFS POSITION CCR3.7 ESR LIRST TBCS (LSB) -
SYMBOL TESE
NAME AND DESCRIPTION Transmit Side Elastic Store Enable. 0=elastic store is bypassed. 1=elastic store is enabled. Transmit Channel Blocking Registers (TCBR) Function Select. 0=TCBRs define the operation of the TCHBLK output pin. 1=TCBRs define which signaling bits are to be inserted. Transmit Idle Registers (TIR) Function Select. 0=TIRs define in which channels to insert idle code. 1=TIRs define in which channels to insert data from RSER. Elastic Stores Reset. Setting this bit from a 1 to a 0 will force the elastic stores to a known depth. Should be toggled after RSYSCLK and TSYSCLK have been applied and are stable. Must be set and cleared again for a subsequent reset. Do not leave this bit set high. Not Assigned. Should be set to 0 when written. Not Assigned. Should be set to 0 when written. Transmit Side Backplane Clock Select. 0=if TSYSCLK is 1.544 MHz 1=if TSYSCLK is 2.048 MHz Not Assigned. Should be set to 0 when written.
TCBFS
CCR3.6
TIRFS
CCR3.5
ESR
CCR3.4
TBCS
CCR3.3 CCR3.2 CCR3.1
-
CCR3.0
POWER-UP SEQUENCE
On power-up, after the supplies are stable, the DS21Q43A should be configured for operation by writing to all of the internal registers (this includes the Test Registers) since the contents of the internal registers cannot be predicted on power-up. Finally, after the RSYSCLK and TSYSCLK inputs are stable, the ESR bit should be toggled from a 0 to a 1 and then back to 0 (this step can be skipped if the elastic store is not being used).
4.0 STATUS AND INFORMATION REGISTERS
There is a set of four registers that contain information on the current real time status of the DS21Q43A, Status Register 1 (SR1), Status Register 2 (SR2), Receive Information Register (RIR), and Synchronizer Status Register (SSR). When a particular event has occurred (or is occurring), the appropriate bit in one of these four registers will be set to a 1. All of the bits in these registers operate in a latched fashion (except for the SSR).
21 of 60
DS21Q43A
This means that if an event occurs and a bit is set to a 1 in any of the registers, it will remain set until the user reads that bit. The bit will be cleared when it is read and it will not be set again until the event has occurred again or if the alarm is still present. The user will always precede a read of the SR1, SR2, and RIR registers with a write. The byte written to the register will inform the DS21Q43A which bits the user wishes to read and have cleared. The user will write a byte to one of these three registers, with a 1 in the bit positions he or she wishes to read and a 0 in the bit positions he or she does not wish to obtain the latest information. When a 1 is written to a bit location, the read register will be updated with current value and it will be cleared. When a 0 is written to a bit position, the read register will not be updated and the previous value will be held. A write to the status and information registers will be immediately followed by a read of the same register. The read result should be logically AND'ed with the mask byte that was just written and this value should be written back into the same register to insure that bit does indeed clear. This second write step is necessary because the alarms and events in the status registers occur asynchronously in respect to their access via the parallel port. This write-read-write scheme allows an external microcontroller or microprocessor to individually poll certain bits without disturbing the other bits in the register. This operation is key in controlling the DS21Q43A with higher-order software languages. The SSR register operates differently than the other three. It is a read only register and it reports the status of the synchronizer in real time. This register is not latched and it is not necessary to precede a read of this register with a write. The SR1 and SR2 registers have the unique ability to initiate a hardware interrupt via the INT pin. All four of the framers share the INT output. Each of the alarms and events in the SR1 and SR2 can be either masked or unmasked from the interrupt pins via the Interrupt Mask Register 1 (IMR1) and Interrupt Mask Register 2 (IMR2) respectively. The user can determine which framer has active interrupts by polling the Interrupt Status Register (ISR).
ISR: INTERRUPT STATUS REGISTER (see Table 1-6, Note 2)
(MSB) F3SR2 F3SR1 F2SR2 POSITION ISR.7 ISR.6 ISR.5 ISR.4 ISR.3 ISR.2 ISR.1 ISR.0 F2SR1 F1SR2 F1SR1 F0SR2 (LSB) F0SR1
SYMBOL F3SR2 F3SR1 F2SR2 F2SR1 F1SR2 F1SR1 F0SR2 F0SR1
NAME AND DESCRIPTION Status of Interrupt for SR2 in Framer 3. 1=interrupt active. Status of Interrupt for SR1 in Framer 3. 1=interrupt active. Status of Interrupt for SR2 in Framer 2. 1=interrupt active. Status of Interrupt for SR1 in Framer 2. 1=interrupt active. Status of Interrupt for SR2 in Framer 1. 1=interrupt active. Status of Interrupt for SR1 in Framer 1. 1=interrupt active. Status of Interrupt for SR2 in Framer 0. 1=interrupt active. Status of Interrupt for SR1 in Framer 0. 1=interrupt active. 22 of 60
DS21Q43A
RIR: RECEIVE INFORMATION REGISTER (Address=08 Hex)
(MSB) TESF TESE LORC POSITION RIR.7 RESF RESE CRCRC FASRC (LSB) CASRC
SYMBOL TESF
NAME AND DESCRIPTION Transmit Side Elastic Store Full. Set when the elastic store buffer fills and a frame is deleted. Transmit Side Elastic Store Empty. Set when the elastic store buffer empties and a frame is repeated. Loss of Receive Clock. Set when the RCLK pin has not transitioned for at least 2 s (3 s 1 s). Receive Side Elastic Store Full. Set when the elastic store buffer fills and a frame is deleted. Receive Side Elastic Store Empty. Set when the elastic store buffer empties and a frame is repeated. CRC Resync Criteria Met. Set when 915/1000 code words are received in error. FAS Resync Criteria Met. Set when 3 consecutive FAS words are received in error. CAS Resync Criteria Met. Set when 2 consecutive CAS MF alignment words are received in error.
TESE
RIR.6
LORC
RIR.5
RESF
RIR.4
RESE
RIR.3
CRCRC
RIR.2
FASRC
RIR.1
CASRC
RIR.0
23 of 60
DS21Q43A
SSR: SYNCHRONIZER STATUS REGISTER (Address=1E Hex)
(MSB) CSC5 CSC4 CSC3 POSITION SSR.7 SSR.6 SSR.5 SSR.4 SSR.3 CSC2 CSC0 FASSA CASSA (LSB) CRC4SA
SYMBOL CSC5 CSC4 CSC3 CSC2 CSC0
NAME AND DESCRIPTION CRC4 Sync Counter Bit 5. MSB of the 6-bit counter. CRC4 Sync Counter Bit 4. CRC4 Sync Counter Bit 3. CRC4 Sync Counter Bit 2. CRC4 Sync Counter Bit 0. LSB of the 6-bit counter. The next to LSB is not accessible. FAS Sync Active. Set while the synchronizer is searching for alignment at the FAS level. CAS MF Sync Active. Set while the synchronizer is searching for the CAS MF alignment word. CRC4 MF Sync Active. Set while the synchronizer is searching for the CRC4 MF alignment word.
FASSA
SSR.2
CASSA
SSR.1
CRC4SA
SSR.0
CRC4 SYNC COUNTER
The CRC4 Sync Counter increments each time the 8 ms CRC4 multiframe search times out. The counter is cleared when the DS21Q43A has successfully obtained synchronization at the CRC4 level. The counter can also be cleared by disabling the CRC4 mode (CCR1.0=0). This counter is useful for determining the amount of time the DS21Q43A has been searching for synchronization at the CRC4 level. Annex B of ITU G.706 suggests that if synchronization at the CRC4 level cannot be obtained within 400 ms, then the search should be abandoned and proper action taken. The CRC4 Sync Counter will rollover.
24 of 60
DS21Q43A
SR1: STATUS REGISTER 1 (Address=06 Hex)
(MSB) RSA1 RDMA RSA0 POSITION SR1.7 RSLIP RUA1 RRA RCL (LSB) RLOS
SYMBOL RSA1
NAME AND DESCRIPTION Receive Signaling All Ones. Set when the contents of timeslot 16 contains less than three 0s over 16 consecutive frames. This alarm is not disabled in the CCS signaling mode. Receive Distant MF Alarm. Set when bit 6 of timeslot 16 in frame 0 has been set for two consecutive multiframes. This alarm is not disabled in the CCS signaling mode. Receive Signaling All 0s. Set when over a full MF, timeslot 16 contains all 0s. Receive Side Elastic Store Slip. Set when the elastic store has either repeated or deleted a frame of data. Receive Unframed All Ones. Set when an unframed all ones code is received at RPOS and RNEG. Receive Remote Alarm. Set when a remote alarm is received at RPOS and RNEG. Receive Carrier Loss. Set when 255 consecutive 0s have been detected at RPOS and RNEG. Receive Loss of Sync. Set when the device is not synchronized to the receive E1 stream.
RDMA
SR1.6
RSA0 RSLIP RUA1 RRA RCL RLOS
SR1.5 SR1.4 SR1.3 SR1.2 SR1.1 SR1.0
ALARM CRITERIA Table 4-1
ALARM RSA1 (receive signaling all ones) RSA0 (receive signaling all 0s) RDMA (receive distant multiframe alarm) RUA1 (receive unframed all ones) RRA (receive remote alarm) RCL (receive carrier loss) SET CRITERIA over 16 consecutive frames (one full MF) timeslot 16 contains less than three 0s over 16 consecutive frames (one full MF) timeslot 16 contains all 0s bit 6 in timeslot 16 of frame 0 set to 1 for two consecutive MFs less than three 0s in two frames (512 bits) bit 3 of non-align frame set to 1 for three consecutive occasions 255 consecutive 0s received CLEAR CRITERIA over 16 consecutive frames (one full MF) timeslot 16 contains three or more 0s over 16 consecutive frames (one full MF) timeslot 16 contains at least a single one bit 6 in timeslot 16 of frame 0 set to 0 for two consecutive MFs more than two 0s in two frames (512 bits) bit 3 of non-align frame set to 0 for three consecutive occasions in 255-bit times, at least 32 1s are received ITU SPEC. G.732 4.2 G.732 5.2 O.162 2.1.5 O.162 1.6.1.2 O.162 2.1.4 G.775
25 of 60
DS21Q43A
SR2: STATUS REGISTER 2 (Address=07 Hex)
(MSB) RMF RAF TMF POSITION SR2.7 SEC TAF LOTC RCMF (LSB) TSLIP
SYMBOL RMF
NAME AND DESCRIPTION Receive CAS Multiframe. Set every 2 ms (regardless if CAS signaling is enabled or not) on receive multiframe boundaries. Used to alert the host that signaling data is available. Receive Align Frame. Set every 250 s at the beginning of align frames. Used to alert the host that Si and Sa bits are available in the RAF and RNAF registers. Transmit Multiframe. Set every 2 ms (regardless if CRC4 is enabled) on transmit multiframe boundaries. Used to alert the host that signaling data needs to be updated. One Second Timer. Set on increments of 1 second based on RCLK. If CCR2.7=1, then this bit will be set every 62.5 ms instead of once a second. Transmit Align Frame. Set every 250 s at the beginning of align frames. Used to alert the host that the TAF and TNAF registers need to be updated. Loss of Transmit Clock. Set when the TCLK pin has not transitioned for one channel time (or 3.9 s). Will force the LOTC pin high if enabled via TCR2.0. Based on RCLK. Receive CRC4 Multiframe. Set on CRC4 multiframe boundaries; will continue to be set every 2 ms on an arbitrary boundary if CRC4 is disabled. Transmit Elastic Store Slip. Set when the elastic store has either repeated or deleted a frame of data.
RAF
SR2.6
TMF
SR2.5
SEC
SR2.4
TAF
SR2.3
LOTC
SR2.2
RCMF
SR2.1
TSLIP
SR2.0
26 of 60
DS21Q43A
IMR1: INTERRUPT MASK REGISTER 1 (Address=16 Hex)
(MSB) RSA1 RDMA RSA0 POSITION IMR1.7 RSLIP RUA1 RRA RCL (LSB) RLOS
SYMBOL RSA1
NAME AND DESCRIPTION Receive Signaling All 1s. 0=interrupt masked 1=interrupt enabled Receive Distant MF Alarm. 0=interrupt masked 1=interrupt enabled Receive Signaling All 0s. 0=interrupt masked 1=interrupt enabled Receive Elastic Store Slip Occurrence. 0=interrupt masked 1=interrupt enabled Receive Unframed All 1s. 0=interrupt masked 1=interrupt enabled Receive Remote Alarm. 0=interrupt masked 1=interrupt enabled Receive Carrier Loss. 0=interrupt masked 1=interrupt enabled Receive Loss of Sync. 0=interrupt masked 1=interrupt enabled
RDMA
IMR1.6
RSA0
IMR1.5
RSLIP
IMR1.4
RUA1
IMR1.3
RRA
IMR1.2
RCL
IMR1.1
RLOS
IMR1.0
27 of 60
DS21Q43A
IMR2: INTERRUPT MASK REGISTER 2 (Address=17 Hex)
(MSB) RMF RAF TMF POSITION IMR2.7 SEC TAF LOTC RCMF (LSB) TSLIP
SYMBOL RMF
NAME AND DESCRIPTION Receive CAS Multiframe. 0=interrupt masked 1=interrupt enabled Receive Align Frame. 0=interrupt masked 1=interrupt enabled Transmit Multiframe. 0=interrupt masked 1=interrupt enabled 1-Second Timer. 0=interrupt masked 1=interrupt enabled Transmit Align Frame. 0=interrupt masked 1=interrupt enabled Loss Of Transmit Clock. 0=interrupt masked 1=interrupt enabled Receive CRC4 Multiframe. 0=interrupt masked 1=interrupt enabled Transmit Side Elastic Store Slip. 0=interrupt masked 1=interrupt enabled
RAF
IMR2.6
TMF
IMR2.5
SEC
IMR2.4
TAF
IMR2.3
LOTC
IMR2.2
RCMF
IMR2.1
TSLIP
IMR2.0
5.0 ERROR COUNT REGISTERS
There are a set of four counters in the DS21Q43A that record bipolar or code violations, errors in the CRC4 SMF code words, E-bits as reported by the far end, and word errors in the FAS. Each of these four counters are automatically updated on either 1-second boundaries (CCR2.7=0) or every 62.5 ms (CCR2.7=1) as determined by the timer in Status Register 2 (SR2.4). Hence, these registers contain performance data from either the previous second or the previous 100 ms. The user can use the interrupt from the timer to determine when to read these registers. The user has a full second (or 62.5 ms) to read the counters before the data is lost.
28 of 60
DS21Q43A
5.1 BPV or Code Violation Counter
Violation Count Register 1 (VCR1) is the most significant word and VCR2 is the least significant word of a 16-bit counter that records either BiPolar Violations (BPVs) or Code Violations (CVs). If CCR2.6=0, then the VCR counts bipolar violations. Bipolar violations are defined as consecutive marks of the same polarity. In this mode, if the HDB3 mode is set for the receive side via CCR1.2, then HDB3 code words are not counted as BPVs. If CCR2.6=1, then the VCR counts code violations as defined in ITU O.161. Code violations are defined as consecutive bipolar violations of the same polarity. In most applications, the DS21Q43A should be programmed to count BPVs when receiving AMI code and to count CVs when receiving HDB3 code. This counter increments at all times and is not disabled by loss of sync conditions. The counter saturates at 65,535 and will not rollover. The bit error rate on an E1 line would have to be greater than 10**-2 before the VCR would saturate.
VCR1: UPPER BIPOLAR VIOLATION COUNT REGISTER 1 (Address=00 Hex) VCR2: LOWER BIPOLAR VIOLATION COUNT REGISTER 2 (Address=01 Hex)
(MSB) V15 V7 V14 V6 SYMBOL V15 V0 V13 V5 POSITION VCR1.7 VCR2.0 V12 V4 V11 V3 V10 V2 V9 V1 (LSB) V8 V0 VCR1 VCR2
NAME AND DESCRIPTION MSB of the 16-bit bipolar or code violation count. LSB of the 16-bit bipolar or code violation count.
5.2 CRC4 Error Counter
CRC4 Count Register 1 (CRCCR1) is the most significant word and CRCCR2 is the least significant word of a 10-bit counter that records word errors in the Cyclic Redundancy Check 4 (CRC4). Since the maximum CRC4 count in a 1-second period is 1000, this counter cannot saturate. The counter is disabled during loss of sync at either the FAS or CRC4 level; it will continue to count if loss of multiframe sync occurs at the CAS level.
CRCCR1: CRC4 COUNT REGISTER 1 (Address=02 Hex) CRCCR2: CRC4 COUNT REGISTER 2 (Address=03 Hex)
(MSB) (note 1) CRC7 (note 1) CRC6 (note 1) CRC5 POSITION CRCCR1.1 CRCCR2.0 (note 1) CRC4 (note 1) CRC3 (note 1) CRC2 CRC9 CRC1 (LSB) CRC8 CRCCR1 CRC0 CRCCR2
SYMBOL CRC9 CRC0
NAME AND DESCRIPTION MSB of the 10-bit CRC4 error count. LSB of the 10-bit CRC4 error count.
NOTE:
1. The upper 6 bits of CRCCR1 at address 02 are the most significant bits of the 12-bit FAS error counter. 29 of 60
DS21Q43A
5.3 E-Bit Counter
E-bit Count Register 1 (EBCR1) is the most significant word and EBCR2 is the least significant word of a 10-bit counter that records Far End Block Errors (FEBE) as reported in the 1st bit of frames 13 and 15 on E1 lines running with CRC4 multiframe. These count registers will increment once each time the received E-bit is set to 0. Since the maximum E-bit count in a 1-second period is 1000, this counter cannot saturate. The counter is disabled during loss of sync at either the FAS or CRC4 level; it will continue to count if loss of multiframe sync occurs at the CAS level.
EBCR1: E-BIT COUNT REGISTER 1 (Address=04 Hex) EBCR2: E-BIT COUNT REGISTER 2 (Address=05 Hex)
(MSB) (note 1) EB7 (note 1) EB6 SYMBOL EB9 EB0 (note 1) EB5 POSITION EBCR1.1 EBCR2.0 (note 1) EB4 (note 1) EB3 (note 1) EB2 EB9 EB1 (LSB) EB8 EB0 EBCR1 EBCR2
NAME AND DESCRIPTION MSB of the 10-bit E-Bit count. LSB of the 10-bit E-Bit count.
NOTE:
1. The upper 6 bits of EBCR1 at address 04 are the least significant bits of the 12-bit FAS error counter.
5.4 FAS Error Counter
FAS Count Register 1 (FASCR1) is the most significant word and FASCR2 is the least significant word of a 12-bit counter that records word errors in the Frame Alignment Signal in timeslot 0. This counter is disabled during loss of frame synchronization conditions; it is not disabled during loss of synchronization at either the CAS or CRC4 multiframe level. Since the maximum FAS word error count in a 1-second period is 4000, this counter cannot saturate.
FASCR1: FAS BIT COUNT REGISTER 1 (Address=02 Hex) FASCR2: FAS BIT COUNT REGISTER 2 (Address=04 Hex)
(MSB) FAS11 FAS5 FAS10 FAS4 FAS9 FAS3 POSITION FASCR1.7 FASCR2.2 FAS8 FAS2 FAS7 FAS1 FAS6 FAS0 (note 2) (note 1) (LSB) (note 2) (note 1) FASCR1 FASCR2
SYMBOL FAS11 FAS0
NAME AND DESCRIPTION MSB of the 12-bit FAS error count. LSB of the 12-bit FAS error count.
NOTES:
1. The lower 2 bits of FASCR1 at address 02 are the most significant bits of the 10-bit CRC4 error counter. 2. The lower 2 bits of FASCR2 at address 04 are the most significant bits of the 10-bit E-Bit counter. 30 of 60
DS21Q43A
6.0 ADDITIONAL (Sa) AND INTERNATIONAL (Si) BIT OPERATION
The DS21Q43A provides for access to both the Sa and the Si bits via three different methods. The first is via a hardware scheme using the RLINK/RLCLK and TLINK/ TLCLK pins. The first method is discussed in Section 6.1. The second involves using the internal RAF/RNAF and TAF/TNAF registers and is discussed in Section 6.2 The third method which is covered in Section 6.3 involves an expanded version of the second method and is one of the features added to the DS21Q43A from the original DS2143 definition.
6.1 Hardware Scheme
On the receive side, all of the received data is reported at the RLINK pin. Via RCR2, the user can control the RLCLK pin to pulse during any combination of Sa bits. This allows the user to create a clock that can be used to capture the needed Sa bits. If RSYNC is programmed to output a frame boundary, it will identify the Si bits. See Section 11 for detailed timing. On the transmit side, the individual Sa bits can be either sourced from the internal TNAF register (see Section 6.2 for details) or from the external TLINK pin. Via TCR2, the DS21Q43A can be programmed to source any combination of the additional bits from the TLINK pin. If the user wishes to pass the Sa bits through the DS21Q43A without them being altered, then the device should be set up to source all 5 Sa bits via the TLINK pin and the TLINK pin should be tied to the TSER pin. Si bits can be inserted through the TSER pin via the clearing of the TCR1.3 bit. Please see the timing diagrams and the transmit data flow diagram in Section 11 for examples.
6.2 Internal Register Scheme Based on Doubleframe
On the receive side, the RAF and RNAF registers will always report the data as it received in the Additional and International bit locations. The RAF and RNAF registers are updated with the setting of the Receive Align Frame bit in Status Register 2 (SR2.6). The host can use the SR2.6 bit to know when to read the RAF and RNAF registers. It has 250 s to retrieve the data before it is lost. On the transmit side, data is sampled from the TAF and TNAF registers with the setting of the Transmit Align Frame bit in Status Register 2 (SR2.3). The host can use the SR2.3 bit to know when to update the TAF and TNAF registers. It has 250 s to update the data or else the old data will be retransmitted. Data in the Si bit position will be overwritten if either the DS21Q43A is programmed: (1) to source the Si bits from the TSER pin, (2) in the CRC4 mode, or (3) to have automatic E-bit insertion enabled. Data in the Sa bit position will be overwritten if any of the TCR2.3 to TCR2.7 bits are set to 1 (please see Section 6.1 for details). Please see the register descriptions for TCR1 and TCR2 and the Transmit Data Flow diagram in Section 11 for more details.
31 of 60
DS21Q43A
RAF: RECEIVE ALIGN FRAME REGISTER (Address=2F Hex)
(MSB) Si 0 0 POSITION RAF.7 RAF.6 RAF.5 RAF.4 RAF.3 RAF.2 RAF.1 RAF.0 1 1 0 1 (LSB) 1
SYMBOL Si 0 0 1 1 0 1 1
NAME AND DESCRIPTION International Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit.
RNAF: RECEIVE NON-ALIGN FRAME REGISTER (Address=1F Hex)
(MSB) Si 1 A POSITION RNAF.7 RNAF.6 RNAF.5 RNAF.4 RNAF.3 RNAF.2 RNAF.1 RNAF.0 Sa4 Sa5 Sa6 Sa7 (LSB) Sa8
SYMBOL Si 1 A Sa4 Sa5 Sa6 Sa7 Sa8
NAME AND DESCRIPTION International Bit. Frame Non-Alignment Signal Bit. Remote Alarm. Additional Bit 4. Additional Bit 5. Additional Bit 6. Additional Bit 7. Additional Bit 8.
32 of 60
DS21Q43A
TAF: TRANSMIT ALIGN FRAME REGISTER (Address=20 Hex)
(MSB) Si 0 0 POSITION TAF.7 TAF.6 TAF.5 TAF.4 TAF.3 TAF.2 TAF.1 TAF.0 1 1 0 1 (LSB) 1
SYMBOL Si 0 0 1 1 0 1 1
NAME AND DESCRIPTION International Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit. Frame Alignment Signal Bit.
TNAF: TRANSMIT NON-ALIGN FRAME REGISTER (Address=21 Hex)
(MSB) Si 1 A POSITION TNAF.7 TNAF.6 TNAF.5 TNAF.4 TNAF.3 TNAF.2 TNAF.1 TNAF.0 Sa4 Sa5 Sa6 Sa7 (LSB) Sa8
SYMBOL Si 1 A Sa4 Sa5 Sa6 Sa7 Sa8
NAME AND DESCRIPTION International Bit. Frame Non-Alignment Signal Bit. Remote Alarm (used to transmit the alarm). Additional Bit 4. Additional Bit 5. Additional Bit 6. Additional Bit 7. Additional Bit 8.
33 of 60
DS21Q43A
6.3 Internal Register Scheme Based on CRC4 Multiframe
On the receive side, there is a set of eight registers (RSiAF, RSiNAF, RRA, RSa4 to RSa8) that report the SI and Sa bits as they are received. These registers are updated with the setting of the Receive CRC4 Multiframe bit in Status Register 2 (SR2.1). The host can use the SR2.1 bit to know when to read these registers. The user has 2 ms to retrieve the data before it is lost. The MSB of each register is the first received. Please see the register descriptions below and the Transmit Data Flow diagram in Section 11 for more details. On the transmit side, there is also a set of eight registers (TSiAF, TSiNAF, TRA, TSa4 to TSa8) that via the Transmit Sa Bit Control Register (TSaCR), can be programmed to insert both Si and Sa data. Data is sampled from these registers with the setting of the Transmit multiframe bit in Status Register 2 (SR2.5). The host can use the SR2.5 bit to know when to update these registers. It has 2 ms to update the data or else the old data will be retransmitted. The MSB of each register is the first bit transmitted. Please see the register descriptions below and the Transmit Data Flow diagram in Section 11 for more details. REGISTER NAME RSiAF RSiNAF RRA RSa4 RSa5 RSa6 RSa7 RSa8 TSiAF TSiNAF TTA TSa4 TSa5 TSa6 TSa7 TSa8 ADDRESS (HEX) 58 59 5A 5B 5C 5D 5E 5F 50 51 52 53 54 55 56 57
FUNCTION The eight Si bits in the align frame. The eight Si bits in the non-align frame. The eight reportings of the receive remote alarm (RA). The eight Sa4 reported in each CRC4 multiframe. The eight Sa5 reported in each CRC4 multiframe. The eight Sa6 reported in each CRC4 multiframe. The eight Sa7 reported in each CRC4 multiframe. The eight Sa8 reported in each CRC4 multiframe. The eight Si bits to be inserted into the align frame. The eight Si bits to be inserted into the non-align frame. The eight settings of receive remote alarm (RA). The eight Sa4 settings in each CRC4 multiframe. The eight Sa5 settings in each CRC4 multiframe. The eight Sa6 settings in each CRC4 multiframe. The eight Sa7 settings in each CRC4 multiframe. The eight Sa8 settings in each CRC4 multiframe.
34 of 60
DS21Q43A
TSACR: TRANSMIT SA BIT CONTROL REGISTER (Address=1C Hex)
(MSB) SiAF SiNAF RA Sa4 Sa5 Sa6 Sa7 (LSB) Sa8
SYMBOL SiAF
POSITION TSaCR.7
NAME AND DESCRIPTION International Bit in Align Frame Insertion Control Bit. 0=do not insert data from the TSiAF register into the transmit data stream 1=insert data from the TSiAF register into the transmit data stream International Bit in Non-Align Frame Insertion Control Bit. 0=do not insert data from the TSiNAF register into the transmit data stream 1=insert data from the TSiNAF register into the transmit data stream Remote Alarm Insertion Control Bit. 0=do not insert data from the TRA register into the transmit data stream 1=insert data from the TRA register into the transmit data stream Additional Bit 4 Insertion Control Bit. 0=do not insert data from the TSa4 register into the transmit data stream 1=insert data from the TSa4 register into the transmit data stream Additional Bit 5 Insertion Control Bit. 0=do not insert data from the TSa5 register into the transmit data stream 1=insert data from the TSa5 register into the transmit data stream Additional Bit 6 Insertion Control Bit. 0=do not insert data from the TSa6 register into the transmit data stream 1=insert data from the TSa6 register into the transmit data stream Additional Bit 7 Insertion Control Bit. 0=do not insert data from the TSa7 register into the transmit data stream 1=insert data from the TSa7 register into the transmit data stream Additional Bit 8 Insertion Control Bit. 0=do not insert data from the TSa8 register into the transmit data stream 1=insert data from the TSa8 register into the transmit data stream
SiNAF
TSaCR.6
RA
TSaCR.5
Sa4
TSaCR.4
Sa5
TSaCR.3
Sa6
TSaCR.2
Sa7
TSaCR.1
Sa8
TSaCR.0
35 of 60
DS21Q43A
7.0 SIGNALING OPERATION
The Channel Associated Signaling (CAS) bits embedded in the E1 stream can be extracted from the receive stream and inserted into the transmit stream by the DS21Q43A. Each of the 30 channels has four signaling bits (A/B/C/D) associated with it. The numbers in parenthesis () are the channel associated with a particular signaling bit. The channel numbers have been assigned as described in the ITU/CCITT documents. For example, channel 1 is associated with timeslot 1 and channel 30 is associated with timeslot 31. There is a set of 16 registers for the receive side (RS1 to RS16) and 16 registers on the transmit side (TS1 to TS16). The signaling registers are detailed below.
RS1 TO RS16: RECEIVE SIGNALING REGISTERS (Address=30 to 3F Hex)
(MSB) 0 A(1) A(2) A(3) A(4) A(5) A(6) A(7) A(8) A(9) A(10) A(11) A(12) A(13) A(14) A(15) 0 B(1) B(2) B(3) B(4) B(5) B(6) B(7) B(8) B(9) B(10) B(11) B(12) B(13) B(14) B(15) 0 C(1) C(2) C(3) C(4) C(5) C(6) C(7) C(8) C(9) C(10) C(11) C(12) C(13) C(14) C(15) POSITION RS1.0/1/3 RS1.2 RS2.7 RS16.0 0 D(1) D(2) D(3) D(4) D(5) D(6) D(7) D(8) D(9) D(10) D(11) D(12) D(13) D(14) D(15) X A(16) A(17) A(18) A(19) A(20) A(21) A(22) A(23) A(24) A(25) A(26) A(27) A(28) A(29) A(30) Y B(16) B(17) B(18) B(19) B(20) B(21) B(22) B(23) B(24) B(25) B(26) B(27) B(28) B(29) B(30) X C(16) C(17) C(18) C(19) C(20) C(21) C(22) C(23) C(24) C(25) C(26) C(27) C(28) C(29) C(30) (LSB) X D(16) D(17) D(18) D(19) D(20) D(21) D(22) D(23) D(24) D(25) D(26) D(27) D(28) D(29) D(30) RS1 (30) RS2 (31) RS3 (32) RS4 (33) RS5 (34) RS6 (35) RS7 (36) RS8 (34) RS9 (35) RS10 (36) RS11 (3A) RS12 (3B) RS13 (3C) RS14 (3D) RS15 (3E) RS16 (3F)
SYMBOL X Y A(1) D(30)
NAME AND DESCRIPTION Spare Bits. Remote Alarm Bit (integrated and reported in SR1.6). Signaling Bit A for Channel 1. Signaling Bit D for Channel 30.
Each Receive Signaling Register (RS1 to RS16) reports the incoming signaling bits from two timeslots. The bits in the Receive Signaling Registers are updated on multiframe boundaries so the user can utilize the Receive Multiframe Interrupt in the Receive Status Register 2 (SR2.7) to know when to retrieve the signaling bits. The user has a full 2 ms to retrieve the signaling bits before the data is lost. The RS registers are updated under all conditions. Their validity should be qualified by checking for synchronization at the CAS level. In CCS signaling mode, RS1 to RS16 can also be used to extract 36 of 60
DS21Q43A
signaling information. Via the SR2.7 bit, the user will be informed when the signaling registers have been loaded with data. The user has 2 ms to retrieve the data before it is lost.
TS1 TO TS16: TRANSMIT SIGNALING REGISTERS (Address=40 to 4F Hex)
(MSB) 0 A(1) A(2) A(3) A(4) A(5) A(6) A(7) A(8) A(9) A(10) A(11) A(12) A(13) A(14) A(15) 0 B(1) B(2) B(3) B(4) B(5) B(6) B(7) B(8) B(9) B(10) B(11) B(12) B(13) B(14) B(15) 0 C(1) C(2) C(3) C(4) C(5) C(6) C(7) C(8) C(9) C(10) C(11) C(12) C(13) C(14) C(15) POSITION TS1.0/1/3 TS1.2 TS2.7 TS16.0 0 D(1) D(2) D(3) D(4) D(5) D(6) D(7) D(8) D(9) D(10) D(11) D(12) D(13) D(14) D(15) X A(16) A(17) A(18) A(19) A(20) A(21) A(22) A(23) A(24) A(25) A(26) A(27) A(28) A(29) A(30) Y B(16) B(17) B(18) B(19) B(20) B(21) B(22) B(23) B(24) B(25) B(26) B(27) B(28) B(29) B(30) X C(16) C(17) C(18) C(19) C(20) C(21) C(22) C(23) C(24) C(25) C(26) C(27) C(28) C(29) C(30) (LSB) X D(16) D(17) D(18) D(19) D(20) D(21) D(22) D(23) D(24) D(25) D(26) D(27) D(28) D(29) D(30) TS1 (40) TS2 (41) TS3 (42) TS4 (43) TS5 (44) TS6 (45) TS7 (46) TS8 (47) TS9 (48) TS10 (49) TS11 (4A) TS12 (4B) TS13 (4C) TS14 (4D) TS15 (4E) TS16 (4F)
SYMBOL X Y A(1) D(30)
NAME AND DESCRIPTION Spare Bits. Remote Alarm Bit. Signaling Bit A for Channel 1. Signaling Bit D for Channel 30.
Each Transmit Signaling Register (TS1 to TS16) contains the CAS bits for two timeslots that will be inserted into the outgoing stream if enabled to do so via TCR1.5. On multiframe boundaries, the DS21Q43A will load the values present in the Transmit Signaling Register into an outgoing signaling shift register that is internal to the device. The user can utilize the Transmit Multiframe bit in Status Register 2 (SR2.5) to know when to update the signaling bits. The bit will be set every 2 ms and the user has 2 ms to update the TSRs before the old data will be retransmitted. The TS1 register is special because it contains the CAS multiframe alignment word in its upper nibble. The upper nibble must always be set to 0000 or else the terminal at the far end will lose multiframe synchronization. If the user wishes to transmit a multiframe alarm to the far end, then the TS1.2 bit should be set to a 1. If no alarm is to be transmitted, then the TS1.2 bit should be cleared. The three remaining bits in TS1 are the spare bits. If they are not used, they should be set to 1. In CCS signaling mode, TS1 to TS16 can also be used to insert signaling information. Via the SR2.5 bit, the user will be 37 of 60
DS21Q43A
informed when the signaling registers need to be loaded with data. The user has 2 ms to load the data before the old data will be retransmitted. Via the CCR3.6 bit, the user has the option to use the Transmit Channel Blocking Registers (TCBRs) to determine on a channel by channel basis, which signaling bits are to be inserted via the TSRs (the corresponding bit in the TCBRs=1) and which are to be sourced from the TSER pin (the corresponding bit in the TCBRs=0). See the Transmit Data Flow diagram in Section 11 for more details.
8.0 TRANSMIT IDLE REGISTERS
There is a set of five registers in the DS21Q43A that can be used to custom tailor the data that is to be transmitted onto the E1 line, on a channel by channel basis. Each of the 32 E1 channels can be forced to have a user defined idle code inserted into them.
TIR1/TIR2/TIR3/TIR4: TRANSMIT IDLE REGISTERS (Address=26 to 29 Hex)
(MSB) CH8 CH16 CH24 CH32 CH7 CH15 CH23 CH31 CH6 CH14 CH22 CH30 POSITION TIR4.7 CH5 CH13 CH21 CH29 CH4 CH12 CH20 CH28 CH3 CH11 CH19 CH27 CH2 CH10 CH18 CH26 (LSB) CH1 CH9 CH17 CH25 TIR1 (26) TIR2 (27) TIR3 (28) TIR4 (29)
SYMBOL CH32
NAME AND DESCRIPTION Transmit Idle Registers. 0=do not insert the Idle Code into this channel 1=insert the Idle Code into this channel
CH1
TIR1.0
NOTE:
If CCR3.5=1, then a 0 in the TIRs implies that channel data is to be sourced from TSER and a 1 implies that channel data is to be sourced from the RSER pin.
TIDR: TRANSMIT IDLE DEFINITION REGISTER (Address=2A Hex)
(MSB) TIDR7 TIDR6 TIDR5 TIDR4 TIDR3 TIDR2 TIDR1 (LSB) TIDR0
SYMBOL TIDR7 TIDR0
POSITION TIDR.7 TIDR.0
NAME AND DESCRIPTION MSB of the Idle Code. LSB of the Idle Code.
Each of the bit positions in the Transmit Idle Registers (TIR1/TIR2/TIR3/TIR4) represent a timeslot in the outgoing frame. When these bits are set to a 1, the corresponding channel will transmit the Idle Code contained in the Transmit Idle Definition Register (TIDR). In the TIDR, the MSB is transmitted first. Via the CCR3.5 bit, the user has the option to use the TIRs to determine on a channel by channel basis, if data from the RSER pin should be substituted for data from the TSER pin. In this mode, if the corresponding bit in the TIRs is set to 1, then data will be sourced from the RSER pin. If the corresponding bit in the TIRs is set to 0, then data for that channel will sourced from the TSER pin. See the Transmit Data Flow diagram in Section 11 for more details. 38 of 60
DS21Q43A
9.0 CLOCK BLOCKING REGISTERS
The Receive Channel Blocking Register (RCBR1/ RCBR2/RCBR3/RCBR4) and the Transmit Channel Blocking Registers (TCBR1/TCBR2/TCBR3/TCBR4) control the RCHBLK and TCHBLK pins respectively. The RCHBLK and TCHCLK pins are user programmable outputs that can be forced either high or low during individual channels. These outputs can be used to block clocks to a USART or LAPD controller in ISDN-PRI applications. When the appropriate bits are set to a 1, the RCHBLK and TCHCLK pins will be held high during the entire corresponding channel time. See the timing in Section 11 for an example. The TCBRs have alternate mode of use. Via the CCR3.6 bit, the user has the option to use the TCBRs to determine on a channel-by-channel basis which signaling bits are to be inserted via the TSRs (the corresponding bit in the TCBRs=1) and which are to be sourced from the TSER pin (the corresponding bit in the TCBR=0). See the Transmit Data Flow diagram in Section 11 for more details.
RCBR1/RCBR2/RCBR3/RCBR4: RECEIVE CHANNEL BLOCKING REGISTERS (Address=2B to 2E Hex)
(MSB) CH8 CH16 CH24 CH32 CH7 CH15 CH23 CH31 CH6 CH14 CH22 CH30 POSITION RCBR4.7 CH5 CH13 CH21 CH29 CH4 CH12 CH20 CH28 CH3 CH11 CH19 CH27 CH2 CH10 CH18 CH26 (LSB) CH1 CH9 CH17 CH25 RCBR1 (2B) RCBR2 (2C) RCBR3 (2D) RCBR4 (2E)
SYMBOL CH32
NAME AND DESCRIPTION Receive Channel Blocking Registers. 0=force the RCHBLK pin to remain low during this channel time 1=force the RCHBLK pin high during this channel time
CH1
RCBR1.0
TCBR1/TCBR2/TCBR3/TCBR4: TRANSMIT CHANNEL BLOCKING REGISTERS (Address=22 to 25 Hex)
(MSB) CH8 CH16 CH24 CH32 CH7 CH15 CH23 CH31 CH6 CH14 CH22 CH30 POSITION TCBR4.7 CH5 CH13 CH21 CH29 CH4 CH12 CH20 CH28 CH3 CH11 CH19 CH27 CH2 CH10 CH18 CH26 (LSB) CH1 CH9 CH17 CH25 TCBR1 (22) TCBR2 (23) TCBR3 (24) TCBR4 (25)
SYMBOL CH32
NAME AND DESCRIPTION Receive Channel Blocking Registers. 0=force the TCHBLK pin to remain low during this channel time 1=force the TCHBLK pin high during this channel time
CH1
TCBR1.0
NOTE:
If CCR3.6=1, then a 0 in the TCBRs implies that signaling data is to be sourced from TSER and a 1 implies that signaling data for that channel is to be sourced from the Transmit Signaling (TS) registers. See definition below. 39 of 60
DS21Q43A
TCBR1/TCBR2/TCBR3/TCBR4: DEFINITION WHEN CCR3.6=1
(MSB) CH20 CH24 CH28 CH4 CH8 CH12 CH19 CH23 CH27 CH3 CH7 CH11 CH18 CH22 CH26 CH2 CH6 CH10 CH17* CH21 CH25 (LSB) CH1* CH5 CH9 TCBR1 TCBR2 TCBR3
CH32 CH16 CH31 CH15 CH30 CH14 CH29 CH13 TCBR4 *=CH1 and CH17 should be set to 1 to allow the internal TS1 register to create the CAS Multiframe Alignment Word and Spare/Remote Alarm bits.
10.0 ELASTIC STORES OPERATION
Each framer within the DS21Q43A contains dual two-frame (512 bits) elastic stores, one for the receive direction, and one for the transmit direction. These elastic stores have two main purposes. First, they can be used to rate convert the E1 data stream to 1.544 Mbps (or a multiple of 1.544 Mbps) which is the T1 rate. Secondly, they can be used to absorb the differences in frequency and phase between the E1 data stream and an asynchronous (i.e., not frequency locked) backplane clock (which can be 1.544 MHz or 2.048 MHz or a multiple thereof up to 8.192 MHz). Both elastic stores contain full controlled slip capability which is necessary for this second purpose. The elastic stores can be forced to a known depth via the Elastic Store Reset bit (CCR3.4). Toggling the CCR3.4 bit forces the read and write pointers into opposite frames. Both elastic stores within the DS21Q43A are fully independent and no restrictions apply to the sourcing of the various clocks that are applied to them. The transmit side elastic store can be enabled whether the receive elastic store is enabled or disabled and vice versa. Also, each elastic store can interface to either a 1.544 MHz or 2.048 MHz backplane without regard to the backplane rate the other elastic store is interfacing to.
10.1 Receive Side
If the receive side elastic store is enabled (RCR2.1=1), then the user must provide either a 1.544 MHz (RCR2.2=0) or 2.048 MHz (RCR2.2=1) clock at the RSYSCLK pin. The user has the option of either providing a frame sync at the RSYNC pin (RCR1.5=1) or having the RSYNC pin provide a pulse on frame boundaries (RCR1.5=0). If the user wishes to obtain pulses at the frame boundary, then RCR1.6 must be set to 0 and if the user wishes to have pulses occur at the multiframe boundary, then RCR1.6 must be set to 1. The DS21Q43A will always indicate frame boundaries via the RFSYNC output whether the elastic store is enabled or not. If the elastic store is enabled, then either CAS (RCR1.7=0) or CRC4 (RCR1.7=1) multiframe boundaries will be indicated via the RMSYNC output. If the user selects to apply a 1.544 MHz clock to the RSYSCLK pin, then every fourth channel of the received E1 data will be deleted and an F-bit position (which will be forced to 1) will be inserted. Hence channels 1, 5, 9, 13, 17, 21, 25, and 29 (timeslots 0, 4, 8, 12, 16, 20, 24, and 28) will be deleted from the received E1 data stream. Also, in 1.544 MHz applications, the RCHBLK output will not be active in channels 25 through 32 (or in other words, RCBR4 is not active). See Section 11 for more details. If the 512-bit elastic buffer either fills or empties, a controlled slip will occur. If the buffer empties, then a full frame of data (256 bits) will be repeated at RSER and the SR1.4 and RIR.3 bits will be set to a 1. If the buffer fills, then a full frame of data will be deleted and the SR1.4 and RIR.4 bits will be set to a 1.
10.2 Transmit Side
The operation of the transmit elastic store is very similar to the receive side. The transmit side elastic store is enabled via CCR3.7. A 1.544 MHz (CCR3.1=0) or 2.048 MHz (CCR3.1=1) clock can be applied to the TSYSCLK input. If the user selects to apply a 1.544 MHz clock to the TSYSCLK pin, then the data sampled at TSER will be ignored every fourth channel. Hence channels 1, 5, 9, 13, 17, 21, 25, and 29 (timeslots 0, 4, 8, 12, 16, 20, 24, and 28) will be ignored. The user must supply a 8 kHz frame sync pulse to the TFSYNC input. See Section 11 for more details. Controlled slips in the transmit elastic store are reported in the SR2.0 bit and the direction of the slip is reported in the RIR.6 and RIR.7 bits. 40 of 60
DS21Q43A
11.0 TIMING DIAGRAMS/SYNCHRONIZATION FLOWCHART/TRANSMIT DATA FLOW DIAGRAM RECEIVE SIDE TIMING Figure 11-1
NOTES:
1. RSYNC in the frame mode (RCR1.6=0). 2. RSYNC in the multiframe mode (RCR1.6=1). 3. RLCLK is programmed to output just the Sa4 bit. 4. RLINK will always output all five Sa bits as well as the rest of the receive data stream. 5. This diagram assumes the CAS MF begins with the FAS word.
41 of 60
DS21Q43A
RECEIVE SIDE BOUNDARY TIMING (WITH ELASTIC STORE DISABLED) Figure 11-2
NOTES:
1. RCHBLK is programmed to block channel 2. 2. RLCLK is programmed to pulse during the Sa4 bits. 3. RLCLK is programmed to pulse during the SA4 and SA8 bits. 4. RLCLK is programmed to pulse during the Sa5 and Sa7 bits. 5. Shown is a non-align frame boundary. 6. There is a 6-RCLK delay from RPOS/RNEG to RSER.
42 of 60
DS21Q43A
RECEIVE SIDE 1.544 MHz BOUNDARY TIMING (WITH ELASTIC STORE ENABLED) Figure 11-3
NOTES:
1. Data from the E1 channels 1, 5, 9, 13, 17, 21, 25, and 29 is dropped (channel 2 from the E1 link is mapped to channel 1 of the T1 link, etc.) and the F-bit position is added (forced to one). 2. RSYNC is in the output mode (RCR1.5=0). 3. RSYNC is in the input mode (RCR1.5=1). 4. RCHBLK is programmed to block channel 24.
RECEIVE SIDE 2.048 MHz BOUNDARY TIMING (WITH ELASTIC STORE ENABLED) Figure 11-4
NOTES:
1. RSYNC is in the output mode (RCR1.5=0). 2. RSYNC is in the input mode (RCR1.5=1). 3. RCHBLK is programmed to block channel 1.
43 of 60
DS21Q43A
TRANSMIT SIDE TIMING Figure 11-5
NOTES:
1. TSYNC in the frame mode (TCR1.1=0). 2. TSYNC in the multiframe mode (TCR1.1=1). 3. TLINK is programmed to source only the Sa4 bit. 4. This diagram assumes both the CAS MF and the CRC4 begin with the align frame.
44 of 60
DS21Q43A
TRANSMIT SIDE BOUNDARY TIMING Figure 11-6
NOTES:
1. TSYNC is in the input mode (TCR1.0=0). 2. TSYNC is in the output mode (TCR1.0=1). 3. TCHBLK is programmed to block channel 2. 4. TLINK is programmed to source the Sa4 bits. 5. TLINK is programmed to source the Sa7 and Sa8 bits. 6. Shown is a non-align frame boundary. 7. There is a 5-TCLK delay from TSER to TPOS/TNEG.
45 of 60
DS21Q43A
G.802 TIMING Figure 11-7
NOTE:
1. RCHBLK or TCHBLK is programmed to pulse high during timeslots 1 to 15, 17 to 25, and during bit 1 of timeslot 26.
46 of 60
DS21Q43A
DS21Q43A SYNCHRONIZATION FLOWCHART Figure 11-8
47 of 60
DS21Q43A
DS21Q43A TRANSMIT DATA FLOW Figure 11-9
NOTE:
1. TCLK must be tied to RCLK (or RSYSCLK if the elastic store is enabled) and TSYNC must be tied to RSYNC for data to be properly sourced from RSER.
48 of 60
DS21Q43A
ABSOLUTE MAXIMUM RATINGS*
Voltage on Any Pin Relative to Ground Operating Temperature Operating Temperature Storage Temperature Soldering Temperature * -1.0V to +7.0V 0C to 70C for DS21Q43AT -40C to +85C for DS21Q43ATN -55C to +125C 260C for 10 seconds
This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability.
RECOMMENDED DC OPERATION CONDITIONS
PARAMETER Logic 1 Logic 0 Supply SYMBOL VIH VIL VDD
(0C to 70C for DS21Q43AT; -40C to +85C for DS21Q43ATN)
MIN 2.0 -0.3 4.50 TYP MAX VDD+0.3 +0.8 5.50 UNITS V V V 1 NOTES
CAPACITANCE
PARAMETER Input Capacitance Output Capacitance SYMBOL CIN COUT MIN TYP 5 7 MAX
(tA=25C)
UNITS pF pF NOTES
DC CHARACTERISTICS
PARAMETER Supply Current @ 5V Input Leakage Output Leakage Output Current (2.4V) Output Current (0.4V)
(0C to 70C; VDD=5V 10% for DS21Q43AT; -40C to +85C; VDD=5V 10% for DS21Q43ATN)
SYMBOL IDD IIL ILO IOH IOL -1.0 +4.0 -1.0 MIN TYP 32 +1.0 1.0 MAX UNITS mA A A mA mA NOTES 1 2 3
NOTES:
1. TCLK = RCLK = TSYSCLK = RSYSCLK = 2.048 MHz ; outputs open circuited. 2. 0.0V < VIN < VDD. 3. Applied to INT when 3-stated.
49 of 60
DS21Q43A
INTEL BUS READ AC TIMING (BTS=0/MUX=1) Figure 12-1
INTEL BUS WRITE AC TIMING (BTS=0/MUX=1) Figure 12-2
50 of 60
DS21Q43A
MOTOROLA BUS AC TIMING (BTS=1/MUX=1) Figure 12-3
AC CHARACTERISTICS RECEIVE SIDE
PARAMETER RCLK Period RCLK Pulse Width RSYSCLK Period RSYSCLK Pulse Width
(0C to 70C; VDD=5V 10% for DS21Q43AT; -40C to +85C; VDD=5V 10% for DS21Q43ATN)
SYMBOL tCP tCH tCL tSP tSP tSH tSL tSU tPW tHD t R , tF tDD tD1 tD2 tD3 51 of 60 50 50 20 50 20 25 50 75 75 75 75 75 648 488 MIN TYP 488 MAX UNITS ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns 3 1 2 NOTES
RSYNC Set Up to RSYSCLK Falling or RPOS/RNEG Set Up to RCLK Falling RSYNC Pulse Width RPOS/RNEG Hold from RCLK Falling RCLK and RSYSCLK Rise and Fall Times Delay RCLK or RSYSCLK to RSER Valid Delay RCLK or RSYSCLK to RCHCLK Delay RCLK or RSYSCLK to RCHBLK Delay RCLK to RFSYNC or RSYNC or
DS21Q43A
Delay RSYSCLK to RMSYNC or RSYNC Delay RCLK to RLCLK Delay RCLK to RLINK Valid See Figures 12-4 to 12-6 for details. tD4 tD5 75 75 ns ns
NOTES:
1. RSYSCLK=1.544 MHz. 2. RSYSCLK=2.048 MHz. 3. RSYNC in input mode.
RECEIVE SIDE AC TIMING Figure 12-4
NOTES:
1. RSYNC is in the output mode (RCR1.5=0). 2. RLCLK will only pulse high during Sa bit locations as defined in RCR2; no relationship between RLCLK and RLCLK and RFSYNC is implied.
52 of 60
DS21Q43A
RECEIVE SYSTEM SIDE AC TIMING Figure 12-5
NOTES:
1. RSYNC is in the output mode (RCR 1.5=0). 2. RSYNC is in the input mode (RCR1.5=1).
RECEIVE LINE INTERFACE AC TIMING Figure 12-6
53 of 60
DS21Q43A
AC CHARACTERISTICS TRANSMIT SIDE
PARAMETER TCLK Period TCLK Pulse Width TSYSCLK Period TSYSCLK Pulse Width TSER, TSYNC and TLINK Set Up to TCLK Falling or TSER, TFSYNC Set Up to TSYSCLK Falling TSYNC, TFSYNC Pulse Width TSER, TSYNC and TLINK Hold from TCLK Falling or TSER
(0C to 70C; VDD=5V 10% for DS21Q43AT; -40C to +85C; VDD=5V 10% for DS21Q43ATN)
SYMBOL tCP tCH tCL tSP tSP tSH tSL tSU 50 50 20 75 75 648 488 MIN TYP 488 MAX UNITS ns ns ns ns ns ns ns ns 1 2 NOTES
tPW tHD t R , tF tDD tD1 tD2 tD3 tD4
50 20 25 75 75 75 75 75
ns ns ns ns ns ns ns ns
3
TCLK or TSYSCLK Rise and Fall Times Delay TCLK to TPOS/TNEG Valid Delay TCLK to TCHCLK or TSYSCLK to TCHCLK Delay TCLK to TCHBLK or TSYSCLK to TCHBLK Delay TCLK to TSYNC Delay TCLK to TLCLK See Figures 12-7 to 12-9 for details.
NOTES:
1. TSYSCLK = 1.544 MHz. 2. TSYSCLK = 2.048 MHz. 3. TSYNC in input mode.
54 of 60
DS21Q43A
AC CHARACTERISTICS MULTIPLEXED PARALLEL PORT (MUX=1)
PARAMETER Cycle Time Pulse Width, DS Low or RD High Pulse Width, DS High or RD Low Input Rise/Fall Times R/ W Hold Time R/ W Setup Time Before DS High
CS , FS0, FS1 Setup Time before DS, WR or RD Active CS ,
(0C to 70C; VDD=5V 10% for DS21Q43AT; -40C to +85C; VDD=5V 10% for DS21Q43ATN)
SYMBOL tCYC PWEL PWEH t R , tF tRWH tRWS tCS tCH tDHR tDHW tASL tAHL tASD PWASH tASED tDDR tDSW 10 50 20 0 10 0 15 10 20 30 10 20 50 80 50 MIN 200 100 100 20 TYP MAX UNITS ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns NOTES
FS0, FS1 Hold Time
Read Data Hold Time Write Data Hold Time Muxed Address Valid to AS or ALE Fall Muxed Address Hold Time Delay Time DS, WR or RD to AS or ALE Rise Pulse Width AS or ALE High Delay Time, AS or ALE to DS, WR or
RD
Output Data Delay Time from DS or
RD
Data Setup Time See Figures 12-1 to 12-3 for details.
55 of 60
DS21Q43A
TRANSMIT LINE INTERFACE AC SIDE TIMING Figure 12-7
TRANSMIT SIDE AC TIMING Figure 12-8
NOTES:
1. TSYNC is in the output mode (TCR1.0=1). 2. TSYNC is in the input mode (TCR1.0=0). 3. TSER is sampled on the falling edge of TCLK when the transmit side elastic store is disabled. 4. TCHCLK and TCHBLK are synchronous with TCLK when the transmit side elastic store is disabled. 5. TLINK is only sampled during Sa bit locations as defined in TCR2; no relationship between TLCLK/TLINk and TSYNC is implied.
56 of 60
DS21Q43A
TRANSMIT SYSTEM SIDE AC TIMING Figure 12-9
NOTES:
1. TSER is only sampled on the falling edge of TSYSCLK when the transmit side elastic store is enabled. 2. TCHCLK and TCHBLK are synchronous with TSYSCLK when the transmit side elastic store is enabled.
AC CHARACTERISTICS NON-MULTIPLEXED PARALLEL (0C to 70C; VDD=5V 10% for DS21Q43AT; PORT (MUX=0) -40C to +85C; VDD=5V 10% for DS21Q43ATN)
PARAMETER SYMBOL t1 Set Up Time for A0 to A6, FS0, FS1 Valid to CS Active Set Up Time for CS Active to either RD , WR , or DS Active Delay Time from either RD or DS Active to Data Valid Hold Time from either RD , WR , or DS Inactive to CS Inactive Hold Time from CS Inactive to Data Bus 3-State Wait Time from either WR or DS Active to Latch Data Data Set Up Time to either WR or DS Inactive Data Hold Time from either WR or DS Inactive Address Hold Time See Figures 13-10 to 13-13 for details. t2 t3 t4 t5 t6 t7 t8 t9 0 5 75 10 10 10 20 MIN 0 0 75 TYP MAX UNITS ns ns ns ns ns ns ns ns ns NOTES
57 of 60
DS21Q43A
INTEL BUS READ AC TIMING (BTS=0/MUX=0) Figure 12-10
INTEL BUS WRITE AC TIMING (BTS=0/MUX=0) Figure 12-11
58 of 60
DS21Q43A
MOTOROLA BUS READ AC TIMING (BTS=1/MUX=0) Figure 12-12
MOTOROLA BUS WRITE AC TIMING (BTS=1/MUX=0) Figure 12-13
59 of 60
DS21Q43A
DS21Q43A 128-PIN TQFP
PKG DIM A A1 A2 B C D D1 E E1 e L
128-PIN MIN 0.05 1.35 0.17 0.09 21.80 MAX 1.60 1.45 0.27 0.20 22.20
20.00 BSC 15.80 16.20
14.00 BSC 0.50 BSC 0.45 0.75
56-G4011-001
60 of 60


▲Up To Search▲   

 
Price & Availability of DS21Q43A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X